int WINAPI IntersectClipRect([in] HDC hdc, int, int, int, int);
int WINAPI OffsetClipRgn([in] HDC hdc, int, int);
int WINAPI ExcludeClipRect([in] HDC hdc, int, int, int, int);
BOOL WINAPI PtVisible([in] HDC hdc, int, int);
BOOL WINAPI RectVisible([in] HDC hdc, const RECT FAR *);
*/
// ****** General drawing support *******
[
usesgetlasterror,
entry("MoveToEx"),
helpstring("Moves current position to (x,y) without displaying; return last position in lpPoint"),
]
BOOL WINAPI MoveToEx([in] HDC hdc, [in] int X, [in] int Y,
[in, out] int * lpPoint);
[
usesgetlasterror,
entry("MoveToEx"),
helpstring("Moves current position to (x,y) without displaying (ignore compatibility null parameter)"),
]
BOOL WINAPI MoveToNull([in] HDC hdc, [in] int X, [in] int Y,
[in] long lpNull);
#ifndef WIN32
[
usesgetlasterror,
entry("MoveTo"),
helpstring("Moves current position to (x,y)"),
]
DWORD WINAPI MoveTo([in] HDC hdc, [in] int X, [in] int Y);
#endif
[
usesgetlasterror,
entry("LineTo"),
helpstring("Draws from current position to (x,y) with current pen"),
]
BOOL WINAPI LineTo([in] HDC hdc, [in] int X, [in] int Y);
#ifndef WIN32
[
usesgetlasterror,
entry("GetCurrentPosition"),
helpstring("Gets current position packed in a DWORD"),
]
DWORD WINAPI GetCurrentPosition([in] HDC hdc);
#endif
//@B GetCurrentPositionEx
[
usesgetlasterror,
entry("GetCurrentPositionEx"),
helpstring("Get current position in a POINT structure"),
]
BOOL WINAPI GetCurrentPositionEx([in] HDC hdc,
[in, out] int FAR * lpPoint);
//@E GetCurrentPositionEx
// BOOL WINAPI Polyline([in] HDC hdc, const POINT FAR *, int);
#ifdef WIN32
// BOOL WINAPI PolylineTo([in] HDC hdc, CONST POINT *, DWORD);
[
usesgetlasterror,
entry("PolyBezier"),
helpstring("Draws Bezier curve controlled by array of points (cPoint specified size of array)"),
]
BOOL WINAPI PolyBezier([in] HDC hdc, [in] int * lppt,
[in] DWORD cPoints);
[
usesgetlasterror,
entry("PolyBezierTo"),
helpstring("Draws Bezier curve controlled by array of points (cPoint specified size of array) and moves to last point"),
]
BOOL WINAPI PolyBezierTo([in] HDC hdc, [in] int * lppt,
[in] DWORD cPoints);
#endif
[
usesgetlasterror,
entry("Rectangle"),
helpstring("Draws rectangle around given points with current pen filled with current brush"),
]
BOOL WINAPI Rectangle([in] HDC hdc,
[in] int nLeft, [in] int nTop,
[in] int nRight, [in] int nBottom);
[
usesgetlasterror,
entry("RoundRect"),
helpstring("Draws rounded rectangle around given points with current pen and filled with current brush, using ellipse of (nWidth, nHeight) on corners"),
]
BOOL WINAPI RoundRect([in] HDC hdc,
[in] int nLeft, [in] int nTop,
[in] int nRight, [in] int nBottom,
[in] int nWidth, [in] int nHeight);
[
usesgetlasterror,
entry("Ellipse"),
helpstring("Draws ellipse bounded by given points with current pen and filled with current brush"),
]
BOOL WINAPI Ellipse([in] HDC hdc,
[in] int nLeft, [in] int nTop,
[in] int nRight, [in] int nBottom);
[
usesgetlasterror,
entry("Arc"),
helpstring("Draws an elliptical arc"),
]
BOOL WINAPI Arc([in] HDC hDC,
[in] int nLeftRect, [in] int nTopRect,
[in] int nRightRect, [in] int nBottomRect,
[in] int nXRadial1, [in] int nYRadial1,
[in] int nXRadial2, [in] int nYRadial2);
[
usesgetlasterror,
entry("Chord"),
helpstring("Draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant)"),
]
BOOL WINAPI Chord([in] HDC hDC,
[in] int nLeftRect, [in] int nTopRect,
[in] int nRightRect, [in] int nBottomRect,
[in] int nXRadial1, [in] int nYRadial1,
[in] int nXRadial2, [in] int nYRadial2);
[
usesgetlasterror,
entry("Pie"),
helpstring("Draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials"),
]
BOOL WINAPI Pie([in] HDC hDC,
[in] int nLeftRect, [in] int nTopRect,
[in] int nRightRect, [in] int nBottomRect,
[in] int nXRadial1, [in] int nYRadial1,
[in] int nXRadial2, [in] int nYRadial2);
[
usesgetlasterror,
entry("Polygon"),
helpstring("Draws a polygon"),
]
BOOL WINAPI Polygon([in] HDC hdc, [in] int FAR * lppt,
[in] int cPoints);
// BOOL WINAPI PolyPolygon([in] HDC hdc, const POINT FAR *, int FAR *, int);